import React, { Component } from "react"
import PropTypes from "prop-types"

export default class Footer extends Component {
  static propTypes = {
    count: PropTypes.number.isRequired,
    total: PropTypes.number.isRequired,
  }
  render() {
    const { count, total } = this.props
    return (
      <div>
        已完成{count}/{total}
      </div>
    )
  }
}
